.class Lcom/instagram/android/login/b/av;
.super Ljava/lang/Object;
.source "RegisterFragment.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/instagram/android/login/b/ah;


# direct methods
.method constructor <init>(Lcom/instagram/android/login/b/ah;)V
    .locals 0
    .parameter

    .prologue
    .line 375
    iput-object p1, p0, Lcom/instagram/android/login/b/av;->a:Lcom/instagram/android/login/b/ah;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 7
    .parameter "view"

    .prologue
    const/4 v6, 0x0

    .line 378
    invoke-static {}, Lcom/instagram/android/g/b;->a()Lcom/facebook/a/b;

    move-result-object v0

    .line 379
    iget-object v1, p0, Lcom/instagram/android/login/b/av;->a:Lcom/instagram/android/login/b/ah;

    invoke-static {v1, v6}, Lcom/instagram/android/login/b/ah;->a(Lcom/instagram/android/login/b/ah;Z)V

    .line 380
    invoke-virtual {v0}, Lcom/facebook/a/b;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 381
    iget-object v0, p0, Lcom/instagram/android/login/b/av;->a:Lcom/instagram/android/login/b/ah;

    invoke-virtual {v0, v6}, Lcom/instagram/android/login/b/ah;->a(Z)V

    .line 387
    :goto_0
    return-void

    .line 384
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/login/b/av;->a:Lcom/instagram/android/login/b/ah;

    invoke-virtual {v0}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/login/b/av;->a:Lcom/instagram/android/login/b/ah;

    sget v2, Lcom/facebook/ba;->connecting_to_x:I

    const/4 v3, 0x1

    new-array v3, v3, [Ljava/lang/Object;

    iget-object v4, p0, Lcom/instagram/android/login/b/av;->a:Lcom/instagram/android/login/b/ah;

    sget v5, Lcom/facebook/ba;->facebook:I

    invoke-virtual {v4, v5}, Lcom/instagram/android/login/b/ah;->b(I)Ljava/lang/String;

    move-result-object v4

    aput-object v4, v3, v6

    invoke-virtual {v1, v2, v3}, Lcom/instagram/android/login/b/ah;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v6}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 385
    iget-object v0, p0, Lcom/instagram/android/login/b/av;->a:Lcom/instagram/android/login/b/ah;

    invoke-virtual {v0, v6}, Lcom/instagram/android/login/b/ah;->a(Z)V

    goto :goto_0
.end method
